<!DOCTYPE html>
<html>
<head>
<title>
 manage  containers
</title>
</head>
<style>
body{
}
table{
text-align:center
}
td{
width:100px
}
</style>
<script type="text/javascript">
</script>
<body>
<div>
<div align="center">
<table>
<td width="100px"> <a href="http://120.76.144.72:8008/vc">create volume</a></td>
<td width="100px"> <a href="http://120.76.144.72:8008/run">run container</a></td>
<td width="100px"> <a href="http://120.76.144.72:8008/list">manage containers</a></td>
<td width="100px"> <a href="http://120.76.144.72:8008/i_list">manage images</a></td>
<td width="100px"> <a href="http://120.76.144.72:8008/n_list">manage network </a></td>
<td width="100px"> <a href="http://120.76.144.72:8008/v_list">manage volumes</a></td>
</table>
</div>
</br>
</br>
<div width="800px" align="center">
<table>
<tr><td>id</td><td>name</td><td>status</td><td>stop</td><td>start</td><td>kill</td><td>remove</td> </tr>
{% for container in containers %}
<tr>
<td><a href="http://120.76.144.72:8008/container_{{container.short_id}}">{{container.short_id}}</a></td>
<td> {{container.name}}</td>
 <td>{{container.status}}</td>
<td><a href="http://120.76.144.72:8008/stop_{{container.short_id}}">stop</a></td>
<td><a href="http://120.76.144.72:8008/start_{{container.short_id}}">start</a></td>
<td><a href="http://120.76.144.72:8008/kill_{{container.short_id}}">kill</a></td>
<td><a href="http://120.76.144.72:8008/remove_{{container.short_id}}">remove</a></td>
<td><button onClick="showlog()"> rename</button></td>
<form method="post" action="/rename_{{container.short_id}}
">
{% csrf_token %}
<td width="50px"><input type="text" name="newname"></td><td width="50px"> <input type="submit"></td>
</form>
</div>
</tr>
{% endfor %}
</table>
</div>
</body>
</html>
